package Exception;

/**
 * 自定义异常
 */
public class MyException extends Exception {

    public MyException() {
    }

    public MyException(String message) {
        super(message);
    }

    //jdk1.4以后接收一个Throwable的基类Exception的构造方法
    public MyException(Throwable cause) {
        super(cause);
    }
}
